package com.hongxun.greenentity.tk;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;


/**
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-11-02 15:13:21
 */
@Entity
public class DMaterialModelItemEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键
    @Id
    private String guid;
    //模块-guid
    private String modelGuid;
    //材料-guid
    private String materialGuid;
    //数量
    private Double count;
    //
    private String datastate;

    @Generated(hash = 1467720815)
    public DMaterialModelItemEntity(String guid, String modelGuid,
            String materialGuid, Double count, String datastate) {
        this.guid = guid;
        this.modelGuid = modelGuid;
        this.materialGuid = materialGuid;
        this.count = count;
        this.datastate = datastate;
    }

    @Generated(hash = 1113895737)
    public DMaterialModelItemEntity() {
    }

    /**
     * 设置：主键
     */
    public void setGuid(String guid) {
        this.guid = guid;
    }

    /**
     * 获取：主键
     */
    public String getGuid() {
        return guid;
    }

    /**
     * 设置：模块-guid
     */
    public void setModelGuid(String modelGuid) {
        this.modelGuid = modelGuid;
    }

    /**
     * 获取：模块-guid
     */
    public String getModelGuid() {
        return modelGuid;
    }

    /**
     * 设置：材料-guid
     */
    public void setMaterialGuid(String materialGuid) {
        this.materialGuid = materialGuid;
    }

    /**
     * 获取：材料-guid
     */
    public String getMaterialGuid() {
        return materialGuid;
    }

    /**
     * 设置：数量
     */
    public void setCount(Double count) {
        this.count = count;
    }

    /**
     * 获取：数量
     */
    public Double getCount() {
        return count;
    }

    /**
     * 设置：
     */
    public void setDatastate(String datastate) {
        this.datastate = datastate;
    }

    /**
     * 获取：
     */
    public String getDatastate() {
        return datastate;
    }
}
